/*
 *******************************************************************
 *
 * COPYRIGHT (C) 2013 - 2014 LTV Co., Ltd  All rights reserved
 *
 * Created  : Mar 9, 2014
 * Change History
 * =================================================================
 * DATE                DEVELOPER        REVISION      DESCRIPTION
 * =================================================================
 * Mar 9, 2014    	   jack        1.0           First Created.
 * =================================================================
 *
 *
 *******************************************************************/
package vn.com.ltv.lo.common;

public class Constants {
	
	//----------------Error message----------------------
	public static final String ERR_LOGIN_EMAIL_EMPTY = "Email is empty !";
	public static final String ERR_LOGIN_PASSWORD_EMPTY = "Password is empty !";
	public static final String ERR_LOGIN_WRONG_EMAIL_PASSWORD = "Wrong email or password !";
	public static final String ERR_LOGIN_WRONG_EMAIL_VALIDATE = "Email is not validate !";
	
	public static final String ERR_REGISTER_FULLNAME_EMPTY = "Full name is empty !";
	public static final String ERR_REGISTER_EMAIL_EMPTY = "Email is empty !";
	public static final String ERR_REGISTER_PASSWORD_EMPTY = "Password is empty !";
	public static final String ERR_REGISTER_PASSWORD_SHORT = "Password is too short !";
	public static final String ERR_REGISTER_WRONG_EMAIL_VALIDATE = "Email is not validate !";
	
	public static final String ERR_REGISTER_REQUEST = "Can not register now, please try again !";
	public static final String ERR_LOGIN_REQUEST = "Login fail, please try again !";
	
	//----------------URL API----------------------
	public static final String URL_LOGIN = "http://ltv.com.vn/e4u/api/login";
	public static final String URL_REGISTER = "http://ltv.com.vn/e4u/api/register";
	public static final String URL_ORDER = "http://ltv.com.vn/e4u/api/order";
	public static final String URL_GETLIST_CATEGORY = "http://ltv.com.vn/e4u/api/getlistcategory";
	public static final String URL_GETLIST_DISH = "http://ltv.com.vn/e4u/api/getlistdish";	
	public static final String URL_GETLIST_SET = "http://ltv.com.vn/e4u/api/getlistset";
	public static final String URL_DETAIL_DISH = "http://ltv.com.vn/e4u/api/detaildish";
	public static final String URL_DETAIL_SET = "http://ltv.com.vn/e4u/api/detailset";
	
	public static Boolean isType;

	public static Boolean getIsType() {
		return isType;
	}

	public static void setIsType(Boolean isType) {
		Constants.isType = isType;
	}

	
	
	//---------------EXTRA INTENT-----------------
	public static final String EXTRA_ID = "ID";
	public static final String EXTRA_TYPE = "TYPE";
	public static final int EXTRA_VALUE_SET = 0;
	public static final int EXTRA_VALUE_DISH = 1;
}
